3.2536 \(\int (5-x) \sqrt{3+2 x} \left (2+5 x+3 x^2\right )^2 \, dx\)

Optimal. Leaf size=79 \[ -\frac{9}{416} (2 x+3)^{13/2}+\frac{15}{32} (2 x+3)^{11/2}-\frac{359}{144} (2 x+3)^{9/2}+\frac{93}{16} (2 x+3)^{7/2}-\frac{213}{32} (2 x+3)^{5/2}+\frac{325}{96} (2 x+3)^{3/2} \]

[Out]

(325*(3 + 2*x)^(3/2))/96 - (213*(3 + 2*x)^(5/2))/32 + (93*(3 + 2*x)^(7/2))/16 -
(359*(3 + 2*x)^(9/2))/144 + (15*(3 + 2*x)^(11/2))/32 - (9*(3 + 2*x)^(13/2))/416

_______________________________________________________________________________________

Rubi [A]  time = 0.0684556, antiderivative size = 79, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.037 \[ -\frac{9}{416} (2 x+3)^{13/2}+\frac{15}{32} (2 x+3)^{11/2}-\frac{359}{144} (2 x+3)^{9/2}+\frac{93}{16} (2 x+3)^{7/2}-\frac{213}{32} (2 x+3)^{5/2}+\frac{325}{96} (2 x+3)^{3/2} \]

Antiderivative was successfully verified.

[In]  Int[(5 - x)*Sqrt[3 + 2*x]*(2 + 5*x + 3*x^2)^2,x]

[Out]

(325*(3 + 2*x)^(3/2))/96 - (213*(3 + 2*x)^(5/2))/32 + (93*(3 + 2*x)^(7/2))/16 -
(359*(3 + 2*x)^(9/2))/144 + (15*(3 + 2*x)^(11/2))/32 - (9*(3 + 2*x)^(13/2))/416

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 14.0123, size = 70, normalized size = 0.89 \[ - \frac{9 \left (2 x + 3\right )^{\frac{13}{2}}}{416} + \frac{15 \left (2 x + 3\right )^{\frac{11}{2}}}{32} - \frac{359 \left (2 x + 3\right )^{\frac{9}{2}}}{144} + \frac{93 \left (2 x + 3\right )^{\frac{7}{2}}}{16} - \frac{213 \left (2 x + 3\right )^{\frac{5}{2}}}{32} + \frac{325 \left (2 x + 3\right )^{\frac{3}{2}}}{96} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((5-x)*(3*x**2+5*x+2)**2*(3+2*x)**(1/2),x)

[Out]

-9*(2*x + 3)**(13/2)/416 + 15*(2*x + 3)**(11/2)/32 - 359*(2*x + 3)**(9/2)/144 +
93*(2*x + 3)**(7/2)/16 - 213*(2*x + 3)**(5/2)/32 + 325*(2*x + 3)**(3/2)/96

_______________________________________________________________________________________

Mathematica [A]  time = 0.0227498, size = 38, normalized size = 0.48 \[ -\frac{1}{117} (2 x+3)^{3/2} \left (81 x^5-270 x^4-1109 x^3-1332 x^2-648 x-132\right ) \]

Antiderivative was successfully verified.

[In]  Integrate[(5 - x)*Sqrt[3 + 2*x]*(2 + 5*x + 3*x^2)^2,x]

[Out]

-((3 + 2*x)^(3/2)*(-132 - 648*x - 1332*x^2 - 1109*x^3 - 270*x^4 + 81*x^5))/117

_______________________________________________________________________________________

Maple [A]  time = 0.007, size = 35, normalized size = 0.4 \[ -{\frac{81\,{x}^{5}-270\,{x}^{4}-1109\,{x}^{3}-1332\,{x}^{2}-648\,x-132}{117} \left ( 3+2\,x \right ) ^{{\frac{3}{2}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((5-x)*(3*x^2+5*x+2)^2*(3+2*x)^(1/2),x)

[Out]

-1/117*(81*x^5-270*x^4-1109*x^3-1332*x^2-648*x-132)*(3+2*x)^(3/2)

_______________________________________________________________________________________

Maxima [A]  time = 0.710675, size = 74, normalized size = 0.94 \[ -\frac{9}{416} \,{\left (2 \, x + 3\right )}^{\frac{13}{2}} + \frac{15}{32} \,{\left (2 \, x + 3\right )}^{\frac{11}{2}} - \frac{359}{144} \,{\left (2 \, x + 3\right )}^{\frac{9}{2}} + \frac{93}{16} \,{\left (2 \, x + 3\right )}^{\frac{7}{2}} - \frac{213}{32} \,{\left (2 \, x + 3\right )}^{\frac{5}{2}} + \frac{325}{96} \,{\left (2 \, x + 3\right )}^{\frac{3}{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(3*x^2 + 5*x + 2)^2*sqrt(2*x + 3)*(x - 5),x, algorithm="maxima")

[Out]

-9/416*(2*x + 3)^(13/2) + 15/32*(2*x + 3)^(11/2) - 359/144*(2*x + 3)^(9/2) + 93/
16*(2*x + 3)^(7/2) - 213/32*(2*x + 3)^(5/2) + 325/96*(2*x + 3)^(3/2)

_______________________________________________________________________________________

Fricas [A]  time = 0.26974, size = 53, normalized size = 0.67 \[ -\frac{1}{117} \,{\left (162 \, x^{6} - 297 \, x^{5} - 3028 \, x^{4} - 5991 \, x^{3} - 5292 \, x^{2} - 2208 \, x - 396\right )} \sqrt{2 \, x + 3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(3*x^2 + 5*x + 2)^2*sqrt(2*x + 3)*(x - 5),x, algorithm="fricas")

[Out]

-1/117*(162*x^6 - 297*x^5 - 3028*x^4 - 5991*x^3 - 5292*x^2 - 2208*x - 396)*sqrt(
2*x + 3)

_______________________________________________________________________________________

Sympy [A]  time = 3.84456, size = 70, normalized size = 0.89 \[ - \frac{9 \left (2 x + 3\right )^{\frac{13}{2}}}{416} + \frac{15 \left (2 x + 3\right )^{\frac{11}{2}}}{32} - \frac{359 \left (2 x + 3\right )^{\frac{9}{2}}}{144} + \frac{93 \left (2 x + 3\right )^{\frac{7}{2}}}{16} - \frac{213 \left (2 x + 3\right )^{\frac{5}{2}}}{32} + \frac{325 \left (2 x + 3\right )^{\frac{3}{2}}}{96} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((5-x)*(3*x**2+5*x+2)**2*(3+2*x)**(1/2),x)

[Out]

-9*(2*x + 3)**(13/2)/416 + 15*(2*x + 3)**(11/2)/32 - 359*(2*x + 3)**(9/2)/144 +
93*(2*x + 3)**(7/2)/16 - 213*(2*x + 3)**(5/2)/32 + 325*(2*x + 3)**(3/2)/96

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.270863, size = 74, normalized size = 0.94 \[ -\frac{9}{416} \,{\left (2 \, x + 3\right )}^{\frac{13}{2}} + \frac{15}{32} \,{\left (2 \, x + 3\right )}^{\frac{11}{2}} - \frac{359}{144} \,{\left (2 \, x + 3\right )}^{\frac{9}{2}} + \frac{93}{16} \,{\left (2 \, x + 3\right )}^{\frac{7}{2}} - \frac{213}{32} \,{\left (2 \, x + 3\right )}^{\frac{5}{2}} + \frac{325}{96} \,{\left (2 \, x + 3\right )}^{\frac{3}{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(-(3*x^2 + 5*x + 2)^2*sqrt(2*x + 3)*(x - 5),x, algorithm="giac")

[Out]

-9/416*(2*x + 3)^(13/2) + 15/32*(2*x + 3)^(11/2) - 359/144*(2*x + 3)^(9/2) + 93/
16*(2*x + 3)^(7/2) - 213/32*(2*x + 3)^(5/2) + 325/96*(2*x + 3)^(3/2)